package ch06.factory;

import ch06.dao.UserDao;
import ch06.dao.impl.UserDaoImpl;

public class UserDaoFactory {
    //创建用户DAO实例的方法
    public static UserDao getInstance(){
        return new UserDaoImpl();
    }
}
